package com.weilele.leisure.video_factory.ui.module.local_video

import com.weilele.base.library.BaseViewModel
import com.weilele.leisure.video_factory.utils.MediaVideoInfo
import com.weilele.leisure.video_factory.utils.getLocalVideoInfo
import com.weilele.mvvm.base.livedata.createStatusListLiveData

class LocalVideoViewModel : BaseViewModel() {

    val videoList by lazy { createStatusListLiveData<MediaVideoInfo>() }

    fun getLocalVideo(){
       videoList.runInCoroutineScope {
           getLocalVideoInfo()
       }
    }
}